Skip to content

Conversation

@binh-dam-ibigroup
Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup commented Oct 17, 2025

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

This PR replaces mastarm with Vite as the build system (for dev and production). Other parts involving mastarm remain unchanged.

⚠️ Changes to your own build/deployment scripts are probably required if you previously used mastarm build or mastarm deploy ⚠️.

Useful commands:

  • Dev mode: env YAML_CONFIG=<path-to-frontend>/env.yml yarn start
  • Production build: env YAML_CONFIG=<path-to-frontend>/env.yml yarn build

if (graphHopperResponseFile) {
nock('https://graphhopper.com')
// Turn on log in order to view nock request URLs.
.log(console.log)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nock.log no longer exists in recent node versions.

"mastarm": "^5.3.1",
"md5-file": "^4.0.0",
"nock": "^9.0.14",
"nock": "^13.5.6",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nock 14+ require adding other mocks that are currently missing. Lmk is that's worth it in this PR.

@binh-dam-ibigroup binh-dam-ibigroup marked this pull request as ready for review October 22, 2025 15:17
Copy link
Contributor Author

@binh-dam-ibigroup binh-dam-ibigroup Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping this component around in this PR, although it is not clear how it works.

@binh-dam-ibigroup
Copy link
Contributor Author

@miles-grant-ibigroup How do you make docker use this branch's version of dockerfile for e2e tests?

@miles-grant-ibigroup
Copy link
Contributor

miles-grant-ibigroup commented Oct 23, 2025

@miles-grant-ibigroup How do you make docker use this branch's version of dockerfile for e2e tests?

Here is the culprit:

FROM public.ecr.aws/s2a5w2n9/puppeteer:latest

That image that lives on amazon is using Node 14. If you look at what the container is doing I'm sure there is a way to avoid using the custom container. I think it just reduces the amount of time the e2e tests take to run

I believe that all this custom image does is have puppeteer pre-installed and pre-configured to run in a headless environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants